package one.stand.service;

import com.alibaba.fastjson.JSON;
import one.stand.OneCrmServiceApplicationTests;
import one.stand.request.SeeRecordRequest;
import org.junit.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.TestConfiguration;

@TestConfiguration
public class SeeRecord extends OneCrmServiceApplicationTests {
    @Autowired
    SeeRecordService seeRecordService;

    @Test
    public void getPcCount() {
        System.err.println(JSON.toJSON(seeRecordService.getPcCount(new SeeRecordRequest() {{
            setMyCardId(277);
            setCId(67L);
            setType(1);
        }})));
    }


}
